package com.hongdee.crm.group.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by My on 2017/2/20.
 */
@Entity
@Table(name = "T_CRM_GROUP")
public class TCrmGroup extends BaseEntity {
    /**
     * 群组名称
     */
    @Column(name = "group_name", length = 32, columnDefinition = " VARCHAR(32) COMMENT '群组名称' ")
    private String groupName;
    /**
     * 群组描述
     */
    @Column(name = "group_desc", length = 32, columnDefinition = " VARCHAR(32) COMMENT '群组描述' ")
    private String groupDesc;
    /**
     * 群组类型0 SA、1 保险、 2 客服
     */
    @Column(name = "type", length = 32, columnDefinition = " VARCHAR(32) COMMENT '群组类型0 SA、1 保险、 2 客服' ")
    private String type;
    /**
     * 公司ID
     */
    @Column(name = "company_id", length = 32, columnDefinition = " VARCHAR(32) COMMENT '公司ID' ")
    private String companyId;
    /**
     * 状态 0为启用1为停用
     */
    @Column(name = "status",length = 1,columnDefinition = " VARCHAR(1) COMMENT '状态' ")
    private String status;

    /**
     *
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     *
     * @param status String
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * @return groupName
     */
    public String getGroupName() {
        return groupName;
    }

    /**
     * @param groupName String
     */
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    /**
     * @return groupDesc
     */
    public String getGroupDesc() {
        return groupDesc;
    }

    /**
     * @param groupDesc String
     */
    public void setGroupDesc(String groupDesc) {
        this.groupDesc = groupDesc;
    }

    /**
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type String
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return companyId
     */
    public String getCompanyId() {
        return companyId;
    }

    /**
     * @param companyId String
     */
    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
